import request from '@/utils/request'

// 查询活动性肺结核疑似列表
export function listSuspectedTuberculosis(query) {
  return request({
    url: '/system/SuspectedTuberculosis/list',
    method: 'get',
    params: query
  })
}

// 查询活动性肺结核疑似详细
export function getSuspectedTuberculosis(id) {
  return request({
    url: '/system/SuspectedTuberculosis/' + id,
    method: 'get'
  })
}

// 新增活动性肺结核疑似
export function addSuspectedTuberculosis(data) {
  return request({
    url: '/system/SuspectedTuberculosis',
    method: 'post',
    data: data
  })
}

// 修改活动性肺结核疑似
export function updateSuspectedTuberculosis(data) {
  return request({
    url: '/system/SuspectedTuberculosis',
    method: 'put',
    data: data
  })
}

// 删除活动性肺结核疑似
export function delSuspectedTuberculosis(id) {
  return request({
    url: '/system/SuspectedTuberculosis/' + id,
    method: 'delete'
  })
}
